package com.roadjava.javaweb.student.dao;

import com.roadjava.javaweb.student.beans.entity.ScoreDO;
import com.roadjava.javaweb.student.beans.entity.StudentDO;
import com.roadjava.javaweb.student.beans.req.StudentRequest;
import com.roadjava.javaweb.student.beans.res.TableResult;
import com.roadjava.javaweb.student.beans.vo.ScoreVO;
import com.roadjava.javaweb.student.beans.vo.StudentVO;

import java.util.List;


public interface ScoreDao {
    int addScore(ScoreDO scoreDO);

    TableResult<ScoreVO> queryScoreByPage(StudentRequest studentRequest);

    ScoreVO getScoreById(long scoreId);

    int updateScore(ScoreDO scoreDO);

    int deleteScoreById(long scoreId);
}
